/*******************************************************************************
 * @Description: 
 * @FilePath: \Seven_Segment_LED_Display\User\Inc\led_delay.h
 * @Author: 信念D力量
 * @Date: 2021-04-17 22:30:13
 * @Github: https://www.github.com/fy2008
 * @Gitee: https://gitee.com/zsf90
 * @website: https://fy2008.github.io
 * @LastEditTime: 2021-04-18 12:01:39
 * @LastEditors: Please set LastEditors
 * @Copyright(C): 信念D力量 (freerealmshn@163.com)
 * @All Rights Reserved.
 ******************************************************************************/
#ifndef _LED_DELAY_H
#define _LED_DELAY_H

// 头文件包含
#include "main.h"

typedef enum
{
    GE = 0,
    SHI,
    BAI,
    QIAN
} LED_WEI_t;

typedef enum
{
    NUM_0=0,
    NUM_1,
    NUM_2,
    NUM_3,
    NUM_4,
    NUM_5,
    NUM_6,
    NUM_7,
    NUM_8,
    NUM_9,
    NUM_POINT
} LED_NUM_t;

typedef enum
{
    A=0,
    B,
    C,
    D,
    E,
    F,
    ALL_ON,
    ALL_OFF
} LED_STR_t;



extern SPI_HandleTypeDef hspi5;

// 函数声明
void led_display_seg(uint32_t num);
void led_delay_demo(uint32_t num);

#endif
